import QtQuick

Rectangle {
    width: 200
    height: 200

    gradient: Gradient {
        GradientStop { position: 0.0; color: "red" }
        GradientStop { position: 0.33; color: "yellow" }
        GradientStop { position: 0.66; color: "green" }
        GradientStop { position: 1.0; color: "blue" }
    }
} 
